<html>
<head><meta charset="utf-8"><title>-Cremark=all broken? · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/-Cremark.3Dall.20broken.3F.html">-Cremark=all broken?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="209346919"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/-Cremark%3Dall%20broken%3F/near/209346919" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> csmoe <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/-Cremark.3Dall.20broken.3F.html#209346919">(Sep 08 2020 at 05:23)</a>:</h4>
<p><code>RUSTFLAGS='-Cremark=all -Cdebuginfo=2' cargo b</code> with latest rustc always prints out <code>note: optimization missed for sdagisel</code></p>



<a name="209346964"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/-Cremark%3Dall%20broken%3F/near/209346964" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> csmoe <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/-Cremark.3Dall.20broken.3F.html#209346964">(Sep 08 2020 at 05:24)</a>:</h4>
<p><a href="https://paste.rs/A2m">https://paste.rs/A2m</a></p>



<a name="209347531"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/-Cremark%3Dall%20broken%3F/near/209347531" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/-Cremark.3Dall.20broken.3F.html#209347531">(Sep 08 2020 at 05:39)</a>:</h4>
<p>hm. isn't that what -Cremark=all is supposed to do? Output remarks about optimization passes, such as if one failed?</p>



<a name="209347675"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/-Cremark%3Dall%20broken%3F/near/209347675" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> csmoe <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/-Cremark.3Dall.20broken.3F.html#209347675">(Sep 08 2020 at 05:43)</a>:</h4>
<p><span class="user-mention silent" data-user-id="281757">Jubilee</span> <a href="#narrow/stream/182449-t-compiler.2Fhelp/topic/-Cremark.3Dall.20broken.3F/near/209347531">said</a>:</p>
<blockquote>
<p>hm. isn't that what -Cremark=all is supposed to do? Output remarks about optimization passes, such as if one failed?</p>
</blockquote>
<p>no, <code>-Cllvm-args=-pass-remarks</code> can print out the passes</p>



<a name="209347945"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/-Cremark%3Dall%20broken%3F/near/209347945" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/-Cremark.3Dall.20broken.3F.html#209347945">(Sep 08 2020 at 05:50)</a>:</h4>
<p>Why would both not do it?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>